package com.lse_api.service.impl;

import com.lse_api.entity.Project;
import com.lse_api.mapper.ProjectMapper;
import com.lse_api.service.ProjectService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 项目 服务实现类
 * </p>
 *
 * @author 祁雪
 * @since 2020-05-11
 */
@Service
public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> implements ProjectService {

    @Resource
    private ProjectMapper mapper;

    @Override
    public List<Project> getProjectListByGroup(String groupId) {
        return mapper.getProjectListByGroup(groupId);
    }
}
